package com.magist.manage.system.service.impl;

import java.util.List;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.magist.core.entity.Page;
import com.magist.core.service.SimpleServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.magist.manage.system.dao.OffTagMapper;
import com.magist.manage.system.entity.OffTag;
import com.magist.manage.system.service.OffTagService;

@Service
public class OffTagServiceImpl extends SimpleServiceImpl<OffTag> implements OffTagService{

	@Autowired
	private OffTagMapper offTagMapper;

	@Override
	public OffTag findByCode(String s) {
		OffTag offTag = new OffTag();
		offTag.setTagCode(s);
		return this.findSingle(offTag);
	}
}